package com.dlz.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dlz.service.TestDubboService;
import org.springframework.stereotype.Component;

/**
 * <dl>
 * <dt><span class="strong">类说明:</span></dt>
 * <dd>用一句话描述该类作用</dd>
 * </dl>
 * <dl>
 * <dt><span class="strong">创建时间:</span></dt>
 * <dd>2017/3/28 16:08</dd>
 * </dl>
 *
 * @author duan_lizhi
 * @since 1.0
 */
@Component
@Service(version = "1.0.0")
public class TestDubboServiceImpl implements TestDubboService {
    @Override
    public String getHello() {
        return "看看使用dubbo注解本身怎么注入";
    }

    /**
     * <dl>
     * <dt><span class="strong">方法说明:</span></dt>
     * <dd>用一句话描述该方法的作用</dd>
     * </dl>
     * <dl><dt><span class="strong">创建时间:</span></dt>
     * <dd> 2017/3/28 16:07 </dd></dl>
     * <dl><dt><span class="strong">author:</span></dt>
     * <dd> duan_lizhi</dd></dl>
     * </dl>
     *
     * @return
     */
    @Override
    public String getHelloWorld() {
        return "调用dubbo服务，hello world";
    }
}
